package com.fanshuai.tree.trie.pinyin;

public class PinyinIndex {
    /**
     * 拼音单个字符
     */
    public char ch;
    /**
     * 拼音位于原文中的位置
     */
    public int index;

    public PinyinIndex(char ch, int index) {
        this.ch = ch;
        this.index = index;
    }

    @Override
    public String toString() {
        return String.format("[%s, %d]", ch, index);
    }
}
